//
//  WDStationTaskParametersRequest.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2025/3/5.
//

#import "WDStationTaskParametersRequest.h"

@interface WDStationTaskParametersRequest ()
@property (nonatomic, assign) NSInteger stationId;
@end

@implementation WDStationTaskParametersRequest

/// 初始化
/// - Parameter stationId: 站台id
- (instancetype)initWithStationId:(NSInteger)stationId {
    if (self = [super init]) {
        self.stationId = stationId;
    }
    return self;
}

- (NSString *)requestUrl {
    return kTASK_STATION_PARAMETERS;
}

- (TYZRequestMethod)requestMethod {
    return TYZRequestMethodGET;
}

- (id)requestArgument {
    NSDictionary *params = @{@"stationId":@(self.stationId)};
    return params;
}

- (Class)rspClass {
    return [WDStationTaskParametersModel class];
}

@end
